Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 31, 2025

Bumps syn from 1.0.109 to 2.0.96.

Release notes

Sourced from syn's releases.

2.0.96

2.0.95

  • Fix parenthesization of struct literals in let-chains (#1832)

2.0.94

2.0.93

  • Fix expression parsing edge cases: x as T <<= y (#1804), break as T (#1805), match x { _ if .. => {} } (#1807)
  • Fix expression printing edge cases: || -> T 'a: {} (#1806), if break x {} (#1808, #1810)

2.0.92

  • Fix parenthesization of jumps inside ranges (#1798)

2.0.91

  • Support parsing Vec<Arm> using parse_quote! (#1796, #1797)

2.0.90

  • Fix automatic parenthesization of subexpressions containing outer attributes, such as (#[attr] thing).field (#1785)
  • Fix automatic parenthesization of function calls via a struct field, such as (thing.field)() and thing.0() (#1786)

2.0.89

2.0.88

  • Improve error recovery in parse_str (#1783)

2.0.87

2.0.86

  • Support peeking the end of a parse stream (#1689)
  • Allow parse_quote! to produce Vec<Attribute> (#1775)

2.0.85

  • Preserve extern static unsafety in ForeignItem::Verbatim (#1773)

2.0.84

2.0.83

  • Documentation improvements

2.0.82

  • Provide Parse impls for PreciseCapture and CapturedParam (#1757, #1758)

... (truncated)

Commits
  • d1cbce8 Release 2.0.96
  • 80d8d12 Merge pull request #1840 from dtolnay/letchain
  • 96175be Integrate Expr::Let into precedence fixups
  • 1f096d3 Merge pull request #1839 from dtolnay/chainedcompare
  • 4944362 Fix parenthesization of chained comparisons containing bailout
  • fd198d9 Generalize Expr::Range bailout to any operator that can begin expr
  • d3f2879 Add regression test for chained comparisons with bailout
  • 9872bef Merge pull request #1838 from dtolnay/prevoperator
  • 00a125e Short-circuit precedence scan for high-precedence expressions
  • 83195c0 Merge pull request #1837 from dtolnay/rangebailout
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [syn](https://github.com/dtolnay/syn) from 1.0.109 to 2.0.96.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](dtolnay/syn@1.0.109...2.0.96)

---
updated-dependencies:
- dependency-name: syn
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jan 31, 2025
@danieleades
Copy link
Contributor

this will be a challenging update. might be an opportunity to move to a macro parsing library like darling or deluxe

Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 3, 2025

Superseded by #516.

@dependabot dependabot bot closed this Feb 3, 2025
@dependabot dependabot bot deleted the dependabot/cargo/main/syn-2.0.96 branch February 3, 2025 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update Rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant